<div class="row-fluid">
    <div class="navbar no-margin">
        <div class="navbar-inner">
            <ul class="breadcrumb">
                <i class="icon-chevron-left hide-sidebar"><a href='#' title="Hide Sidebar" rel='tooltip'>&nbsp;</a></i>
                <i class="icon-chevron-right show-sidebar" style="display:none;"><a href='#' title="Show Sidebar"
                                                                                    rel='tooltip'>&nbsp;</a></i>
                <li>
                    <a href="/login">登陆首页</a>
                </li>
                <li class="active">用户注册</li>
            </ul>
        </div>
    </div>
</div>
<style type="text/css">
body{
    background-color:#fff;
    background: url("") no-repeat;
}
.navbar {
    position: relative;
    z-index: 1000;
    min-height: 50px;
    margin-bottom: 1px;
    border: 1px solid transparent;
}
.form-control2 {
    width: 50%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.428571429;
    color: #555;
    vertical-align: middle;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.form-control3 {
    width: 20%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.428571429;
    color: #555;
    vertical-align: middle;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
}
h1, h2, h3 {
    margin-top: 0;
    margin-bottom: 0;
}
</style>

<div class="container-fluid">

    <div class="row">
            <div class="col-sm-12 col-md-12 main">
                <div class="col-md-6 col-md-offset-3">
                    <h3 style="text-align: center">用户信息</h3>
                    <form name="form" ng-submit="form.$valid&&addUser()" novalidate>
                        <div >
                            <label>用户类型</label>
                            <select class="form-control" ng-model="vm.p.isTestDefine" ng-options="x.name for x in vm.d.isTestDefine" required/>
                        </div>
                        <div >
                            <label >用户名称(中文)</label>
                            <input type="text" class="form-control" name="userCn" ng-model="vm.p.userCn"  />
                        </div>
                        <div >
                            <label >登录OA</label>
                            <input type="text" class="form-control" name="userName" ng-model="vm.p.userName" required />
                        </div>
                        <div >
                            <label >公司邮箱</label>
                            <input type="text" class="form-control" name="email" ng-model="vm.p.email"  />
                        </div>
                        <div >
                            <label style="display: block;" >手机号码</label>
                            <input type="text" class="form-control2" name="mobile" ng-model="vm.p.mobile"  />
                            <input type="text" class="form-control3" placeholder="验证码" value=""
                                   name="dynamicCode" ng-model="vm.p.dynamicCode" required/>
                            <input id="btn" type="button" class="form-control3"  value="获取验证码" ng-click="sendDynamicCode()"/>
                        </div>
                        <div >
                            <label >用户密码</label>
                            <input type="password" class="form-control" name="password" ng-model="vm.p.password"  />
                        </div>
                        <div >
                            <label >用户密码（重复输入）</label>
                            <input type="password" class="form-control" name="password2" ng-model="vm.p.password2"  />
                        </div>
                        <div >
                            <label >用户Leader(OA)</label>
                            <input type="text" class="form-control" name="leader" ng-model="vm.p.leader"  />
                        </div>
                        <div >
                            <label > </label>
                            <input class="form-control btn btn-primary" type="submit" value="确定"/>
                        </div>
                    </form>
                </div>
            </div>
    </div>
</div><!--/.container-->
